# a = {}
# b = dict()
#
# print(type(a))
# print(type(b))

# a = {
#     'id': 1,
#      'name': 'zhangsan'
# }
# print(a)

# student = {
#     'id': 1,
#     'name': 'zhangsan'
# }
# print('id' in student)
# print('score' in student)

# student = {
#     'id': 1,
#     'name': 'zhangsan',
# }
# print(student['id'])
# print(student['name'])

# student = {
#     'id': 1,
#     'name': 'zhangsan',
# }
# print(student['score'])

# student = {
#     'id': 1,
#     'name': 'zhangsan'
# }
# student['score'] = 90
# print(student)

# student = {
#     'id': 1,
#     'name': 'zhangsan',
#     'score': 80
# }
# student['score'] = 90
# print(student)

# student = {
#     'id': 1,
#     'name': 'zhangsan',
#     'score': 80
# }
# student.pop('score')
# print(student)

# student = {
#     'id': 1,
#     'name': 'zhangsan',
#     'score': 80
# }
# for key in student:
#     print(key, student[key])

# student = {
#     'id': 1,
#     'name': 'zhangsan',
#     'score': 80
# }
# print(student.keys())
# print(student.values())
# print(student.items())

# for key, value in student.items():
#     print(key, value)

# print(hash(0))
# print(hash(3.14))
# print(hash('hello'))
# print(hash(True))
# print(hash((1, 2, 3)))

# print(hash([1, 2, 3]))

print(hash({'id': 1}))















